home *** CD-ROM | disk | FTP | other *** search
- //TBBS.BTS, a crude off-line reader for TBBS-style bulletin board
- //systems. By Bob Morrow (aka R.MORROW10). This was designed
- //around a local system running v2.? of TBBS. Sorry, there's no
- //reply ability here; that's for someone else to hack. (I'm not
- //sure that TBBS can support off-line replies.) STeno.acc must
- //ride shotgun so that the set_capture() function works. STeno.acc
- //can be run from within MultiDesk Deluxe and it will still work.
- //(You don't have MDD?)
- //
- //Public domain; but let me know what kind of changes you come up
- //with; especially with reply ability. I need to learn the art of
- //BackTALKing! <g>
-
-
- function main()
- wait_for("your FULL Name? ", 0);
- port_send("NAME\r", TRUE);
- wait_for("Your Password: ", 0);
- port_send("PASSWORD\r", TRUE);
-
- wait_for("-Press Any Key-", 0);
- port_send("\r", TRUE);
- set_capture(1); // 1 = on.
-
- wait_for("Command: ", 0);
- port_send("mrnn", TRUE); //M = go to message base, R = read, N
- //= new messages, N = no pause
- //between msgs.
- wait_for("-Press Any Key-",0); //Seen after last msg.
- port_send("\r");
- wait_for("Command: ", 0);
- set_capture(0); // 0 = off.
- port_send("gy\r"); // Get outta Dodge!
- endfunction